.Net Framework > v2.0.50727 > System > Messaging > MessageQueue > BeginReceive BeginReceive()
BeginReceive(TimeSpan)
BeginReceive(TimeSpan,Cursor,Object,AsyncCallback)
BeginReceive(TimeSpan,Object)
BeginReceive(TimeSpan,Object,AsyncCallback)


BeginReceive()

Category
Method
Description
Initiates an asynchronous receive operation that has no time-out. The operation is not complete until a message becomes available in the queue.
Type
IAsyncResult
Character
public
Tags
01892ABD01, 02E3ABA98D, 0376596F91

BeginReceive(TimeSpan)

Category
Method
Description
Initiates an asynchronous receive operation that has a specified time-out. The operation is not complete until either a message becomes available in the queue or the time-out occurs.
Type
IAsyncResult
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
Tags
01892ABD01, 02E3ABA98D, 0376596F91

BeginReceive(TimeSpan,Cursor,Object,AsyncCallback)

Category
Method
Description
Initiates an asynchronous receive operation that has a specified time-out and uses a specified cursor and a specified state object. The state object provides associated information throughout the lifetime of the operation. This overload receives notification, through a callback, of the identity of the event handler for the operation. The operation is not complete until either a message becomes available in the queue or the time-out occurs.
Type
IAsyncResult
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
cursorCursor
stateObject
callbackAsyncCallback
Tags
01892ABD01, 02E3ABA98D, 0376596F91

BeginReceive(TimeSpan,Object)

Category
Method
Description
Initiates an asynchronous receive operation that has a specified time-out and a specified state object, which provides associated information throughout the operation's lifetime. The operation is not complete until either a message becomes available in the queue or the time-out occurs.
Type
IAsyncResult
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
stateObjectObject
Tags
01892ABD01, 02E3ABA98D, 0376596F91

BeginReceive(TimeSpan,Object,AsyncCallback)

Category
Method
Description
Initiates an asynchronous receive operation that has a specified time-out and a specified state object, which provides associated information throughout the operation's lifetime. This overload receives notification, through a callback, of the identity of the event handler for the operation. The operation is not complete until either a message becomes available in the queue or the time-out occurs.
Type
IAsyncResult
Character
public
Parameters
NameTypeDescription
timeoutTimeSpan
stateObjectObject
callbackAsyncCallback
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database